<template>
  <div class="test">

<div class="main_top">
            <img src="@/assets/big/Basic_Info.png" alt />
            基本信息
        </div>
        <el-table :data="tableData"  border style="width: 100%; margin-top: 20px"
            :header-cell-style="{'background':'rgba(0,0,0,0)','font-weight':'500'}" >
            <el-table-column prop="name" label="优惠券品类" width="240" ></el-table-column>
            <el-table-column>
                <template slot="header" slot-scope="scope">
                    <span>TEST</span>
                </template>
                <template slot-scope="scope">
                    <span>{{scope.row.value}}</span>
                </template>
            </el-table-column>
            <el-table-column prop="names" label="优惠券名称" width="240"></el-table-column>
            <el-table-column>
                <template slot="header" slot-scope="scope">
                    <span >TEST</span>
                </template>
                <template slot-scope="scope">
                    <span>{{scope.row.values}}</span>
                </template>
            </el-table-column>
        </el-table>

  </div>
</template>

<script>
  /* eslint-disable */
  export default {
      data () {
        return {
          dataForm: {
            userName: '',
          },
          dataList: [],
          pageIndex: 1
        }
      },
      computed: {
        id: {
          get () { return this.$store.state.user.id },
          set (val) { this.$store.commit('user/updateId', val) }
        },
        account: {
          get () { return this.$store.state.user.account },
          set (val) { this.$store.commit('user/updateAccount', val) }
        },
        avatar: {
          get () { return this.$store.state.user.avatar },
          set (val) { this.$store.commit('user/updateAvatar', val) }
        }
      },
      activated () {
        this.getDataList()
      },
      methods: {
        viewHandle (id){
        },
      }
    }
</script>

<style>
  .test{

  }

</style>
